<?php
class Message extends Zend_Db_Table
{
	protected $_name ="message";
	protected $_primary = 'id';
	
	/*
	 * 得到message的select对象
	 */
	public function getMessageSelect(){
		$select=$this->_db->select();
		$select->from($this->_name);
		return $select;
	}
}
?>